home *** CD-ROM | disk | FTP | other *** search
/ Amiga Developer CD 2.1 / Amiga Developer CD v2.1.iso / Reference / Includes_and_Autodocs_3.5 / include / gadgets / slider.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-10-19  |  1.9 KB  |  88 lines

  1. #ifndef GADGETS_SLIDER_H
  2. #define GADGETS_SLIDER_H
  3. /*
  4. **    $VER: slider.h 44.1 (19.10.1999)
  5. **    Includes Release 44.1
  6. **
  7. **  Definitions for the slider.gadget BOOPSI class
  8. **
  9. **    (C) Copyright 1987-1999 Amiga, Inc.
  10. **        All Rights Reserved
  11. */
  12.  
  13. /*****************************************************************************/
  14.  
  15. #ifndef REACTION_REACTION_H
  16. #include <reaction/reaction.h>
  17. #endif
  18.  
  19. #ifndef INTUITION_GADGETCLASS_H
  20. #include <intuition/gadgetclass.h>
  21. #endif
  22.  
  23. /*****************************************************************************/
  24.  
  25. /* Additional attributes defined by the slider.gadget class
  26.  */
  27.  
  28. #define SLIDER_Dummy            (REACTION_Dummy+0x0028000)
  29.  
  30. #define SLIDER_Min                (SLIDER_Dummy+1L)
  31.     /* (WORD) . */
  32.  
  33. #define SLIDER_Max                (SLIDER_Dummy+2L)
  34.     /* (WORD) . */
  35.  
  36. #define SLIDER_Level            (SLIDER_Dummy+3L)
  37.     /* (WORD) . */
  38.  
  39. #define SLIDER_Orientation        (SLIDER_Dummy+4L)
  40.     /* (WORD) . */
  41.  
  42. #define SLIDER_DispHook            (SLIDER_Dummy+5L)
  43.     /* (struct Hook *) . */
  44.  
  45. #define SLIDER_Ticks            (SLIDER_Dummy+6L)
  46.     /* (LONG) . */
  47.  
  48. #define SLIDER_ShortTicks        (SLIDER_Dummy+7L)
  49.     /* (BOOL) . */
  50.  
  51. #define SLIDER_TickSize            (SLIDER_Dummy+8L)
  52.     /* (WORD) . */
  53.  
  54. #define SLIDER_KnobImage        (SLIDER_Dummy+9L)
  55.     /* (struct Image *) . */
  56.  
  57. #define SLIDER_BodyFill            (SLIDER_Dummy+10L)
  58.     /* (WORD) . */
  59.  
  60. #define SLIDER_BodyImage        (SLIDER_Dummy+11L)
  61.     /* (struct Image *) . */
  62.  
  63. #define SLIDER_Gradient            (SLIDER_Dummy+12L)
  64.     /* (BOOL) Gradient slider modem, defaults to false. */
  65.  
  66. #define SLIDER_PenArray            (SLIDER_Dummy+13L)
  67.     /* (UWORD *) Pens for gradient slider. */
  68.  
  69. #define SLIDER_Invert            (SLIDER_Dummy+14L)
  70.     /* (BOOL) Flip Min/Max positions. Defaults to false. */
  71.  
  72. #define SLIDER_KnobDelta        (SLIDER_Dummy+15L)
  73.     /* (WORD) . */
  74.  
  75.  
  76. /*****************************************************************************/
  77.  
  78. /* SLIDER_Orientation Modes
  79.  */
  80.  
  81. #define SORIENT_HORIZ FREEHORIZ
  82. #define SORIENT_VERT FREEVERT
  83.  
  84. #define SLIDER_HORIZONTAL SORIENT_HORIZ
  85. #define SLIDER_VERTICAL    SORIENT_VERT
  86.  
  87. #endif /* GADGETS_SLIDER_H */
  88.